package com.binance.routing;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

import com.binance.master.utils.IPUtils;

@SpringCloudApplication
@EnableZuulProxy
@EnableAutoConfiguration(exclude=DataSourceAutoConfiguration.class)
public class Application {

	public static void main(String[] args) {
	    System.setProperty("local-ip", IPUtils.getIp());
		SpringApplication.run(Application.class, args);
	}
}
